package com.useeinfo.oa.modules.base.entity;

import com.useeinfo.framework.extend.entity.SuperClassEntity;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

/**
 * 400报修数据表
 */
@Entity
@Table(name = "customer_repair")
public class CustomerRepair extends SuperClassEntity<CustomerRepair> {

    //主叫号码
    private String src;

    //被叫号码
    private String dst;

    /**
     * 呼叫时间
     */
    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date callDate;

    /**
     * 录音文件路径
     */
    private String recordPath;

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getDst() {
        return dst;
    }

    public void setDst(String dst) {
        this.dst = dst;
    }

    public Date getCallDate() {
        return callDate;
    }

    public void setCallDate(Date callDate) {
        this.callDate = callDate;
    }

    public String getRecordPath() {
        return recordPath;
    }

    public void setRecordPath(String recordPath) {
        this.recordPath = recordPath;
    }
}
